#include"main.h"

#define VLAN_TYPE_IP 0x0800  
#define VLAN_TYPE_VLAN 0x8100
#define VLAN_TYPE_MPLS 0X8847

typedef struct VLANHeader_t{ //vlan数据报头
   u_int16 PRI_CFI_VID;
   u_int16 VlanType;
} VLANHeader_t;

void process_vlan(FILE *fp);